/**
 * 
 */
package com.zwl.security_authorize.repository.spec;


import com.zwl.security_authorize.domain.Admin;
import com.zwl.security_authorize.dto.AdminCondition;
import com.zwl.security_authorize.repository.support.QueryWraper;
import com.zwl.security_authorize.repository.support.ZwlSpecification;

/**
* @author zengweilulu javatom
 *
 */
public class AdminSpec extends ZwlSpecification<Admin, AdminCondition> {

	public AdminSpec(AdminCondition condition) {
		super(condition);
	}

	@Override
	protected void addCondition(QueryWraper<Admin> queryWraper) {
		addLikeCondition(queryWraper, "username");
	}

}
